<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/base.css" />
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/listview.css" />
        <title><?php echo CHtml::encode($this->pageTitle); ?></title>
    </head>
    <body>
        <div class="wrap">
            <div class="header">
                <div class="nav">
                    <?php
                    $this->widget('zii.widgets.CMenu', array(
                        'encodeLabel' => false,
                        'items' => array(
                            array(
                                'label' => '<img src="/yiiblog/images/app_dashboard.png" /><span>首页</span>',
                                'url' => array('/site')
                            ),
                            array(
                                'label' => '<img src="/yiiblog/images/app_todo.png" /><span>文章</span>',
                                'url' => array('/article')
                            ),
                            array(
                                'label' => '<img src="/yiiblog/images/app_contact.png" /><span>通信录</span>',
                                'url' => array('/phoneBook')
                            ),
                            array(
                                'label' => '<img src="/yiiblog/images/app_stuff.png" /><span>收藏</span>',
                                'url' => array('/favorites')
                            ),
                            array(
                                'label' => '<img src="/yiiblog/images/app_room.png" /><span>其它</span>',
                                'url' => array('/other')
                            )
                        ),
                    ));
                    ?>
                </div>
            </div>
            <?php if (isset($this->breadcrumbs)): ?>
                <?php
                $this->widget('zii.widgets.CBreadcrumbs', array(
                    'links' => $this->breadcrumbs,
                ));
                ?>
            <?php endif ?>
            <div class="container">
                <?php echo $content; ?>
            </div>
        </div>
    </body>
</html>
